package com.only4play.practice.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author mengdy
 */
@FeignClient(value = "practice-pay-service",contextId = "reconcileTaskFeign")
public interface ReconcileTaskFeign {

    @RequestMapping(value = "/cron/task/reconcile/v1/online",method = {RequestMethod.GET})
    void onlineReconcileTask(@RequestParam(value = "billDateStr",required = false) String billDateStr);
}
